/*
 * ============================================================================
 * = COPYRIGHT
 *          PAX Computer Technology(Shenzhen) Co., Ltd. PROPRIETARY INFORMATION
 *   This software is supplied under the terms of a license agreement or nondisclosure
 *   agreement with PAX Computer Technology(Shenzhen) Co., Ltd. and may not be copied or
 *   disclosed except in accordance with the terms in that agreement.
 *     Copyright (C) 2021 PAX Computer Technology(Shenzhen) Co., Ltd. All rights reserved.
 * ============================================================================
 */

import 'package:pigeon/pigeon.dart';


@ConfigurePigeon(PigeonOptions(
    dartOut: 'lib/auto_pigeon/poslink_sdk_payload.dart',
    javaOptions: JavaOptions(
      className: 'POSLinkPayload',
      package: 'com.example.pos_link.pigeon',
    ),
    objcOptions: ObjcOptions(prefix: ''),
    javaOut: './android/src/main/java/com/example/pos_link/pigeon/POSLinkPayload.java',
  ),
)
class PayloadPayloadRequest {
  String? payload;
}

class PayloadPayloadResponse {
  String? responseCode;
  String? responseMessage;
  String? payload;
}

@HostApi()
abstract class POSLinkPayloadApi {
   @async
   PayloadPayloadResponse payload(PayloadPayloadRequest req);
}
